﻿
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;

namespace Demo.Models
{
    /// <summary>
    /// Class BaseRolePermission.
    /// </summary>
   [Description("角色权限")]
    public class BaseRolePermission: BaseEntity<long>
    {
        /// <summary>
        /// Gets or sets the role_ identifier.
        /// </summary>
        /// <value>The role_ identifier.</value>
        public long BaseRole_Id { get; set; }

        /// <summary>
        /// Gets or sets the permission_ identifier.
        /// </summary>
        /// <value>The permission_ identifier.</value>
        public long BasePermission_Id { get; set; }



        /// <summary>
        /// Gets or sets the base role.
        /// </summary>
        /// <value>The base role.</value>
        public virtual BaseRole BaseRole { get; set; }

        /// <summary>
        /// Gets or sets the base permission.
        /// </summary>
        /// <value>The base permission.</value>
        public virtual BasePermission BasePermission { get; set; }
    }
}
